﻿using System.Threading;
using Melody_Glider.GUIContent;

namespace Melody_Glider
{
    public static class Core
    {
        private static readonly SystemState Conditions = new SystemState();
        private static readonly GUI GUI = new GUI(Conditions);
        private static readonly USB USB = new USB(GUI, Conditions);

        public static void Main()
        {
            GUI.Initialize();

            USB.SubscribeEvents();
            
            Thread.Sleep(1500);
            GUI.DispMsg("Please insert USB flash drive");

            Thread.Sleep(Timeout.Infinite);
        }
    }
}
